package com.ktgj.flight.domain.InterfaceEntity;

import java.io.Serializable;

public class MoFlightSearchRequest extends MoRequest implements Serializable {
    public MoFlightSearchRequest()
    {
        GoSearchWhere = new MoFlightSearchWhere();
        BackSearchWhere = new MoFlightSearchWhere();
    }

    public void _Clone(MoFlightSearchRequest request)
    {
        this.GoSearchWhere = request.GoSearchWhere;
        this.BackSearchWhere = request.BackSearchWhere;
        this.TripType = request.TripType;
        this.PolicyType = request.PolicyType;
        this.BuyerCode = request.BuyerCode;

        this.ProviderCode = request.ProviderCode;
        this.RequestType = request.RequestType;
    }

    /**
     * 去程查询条件
     */
    public MoFlightSearchWhere GoSearchWhere;

    /**
     * 回程查询条件
     */
    public MoFlightSearchWhere BackSearchWhere;

    /**
     * 行程类型 全部 = 0,单程 = 1,往返 = 2
     */
    public int TripType;

    /**
     * 政策类型 EnumHelper.PolicyType
     */
    public int PolicyType;

    /**
     * true不查询缓存（目前只有必去接口区分是否查询缓存）
     */
    public Boolean IsNoCache;

    /**
     * 是否携带儿童 true是，false否
     */
    public boolean hasChildren;

    /**
     * 是否携带儿童和婴儿 true是，false否
     */
    public boolean hasChildrenBaby;

    //领达使用字段
    public boolean  hasKeyCustomers; //是否大客户 true是 false否
    public String carrier;//航司
    public String accountCode; //大客户编号

    /**
     * 航班号
     */
    public String FlightNo;

    /**
     * 渠道类型
     */
    public int channelType;
}
